{extend name="../application/public/base.html" /}
{block name="head"}{/block}
{block name="body"}
    <body>
        <div class="x-nav">
          <span class="layui-breadcrumb">
            <a href="">首页</a>
            <a href="">演示</a>
            <a><cite>导航元素</cite></a>
          </span>
          <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right;" onclick="location.reload()" title="刷新"><i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
        </div>
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body">
                        	<div class="layui-card-body ">
	                            <form class="layui-form layui-col-space5">
                                    <input type="hidden" name="ty" value="{:Request()->param('ty')}">
	                                <div class="layui-inline layui-show-xs-block">
                                    	<input class="layui-input"  autocomplete="off" placeholder="开始日" name="start" id="start">
                                	</div>
                                	<div class="layui-inline layui-show-xs-block">
                                    	<input class="layui-input"  autocomplete="off" placeholder="截止日" name="end" id="end">
                                	</div>
	                                <div class="layui-input-inline layui-show-xs-block">
	                                    <div class="layui-btn" lay-submit="" lay-filter="search">
	                                        <i class="layui-icon">&#xe615;</i></div>
	                                </div>
	                                <div class="layui-btn" style="float: right;">打印</div>
	                            </form>
	                        </div>
                            <div class="layui-tab">
							  	<div class="layui-tab-content">
									<table class="layui-table layui-form" id="table-list" lay-filter="list">
	                            	</table>
							  	</div>
							</div>
                        </div>
                    </div>
                </div>
            </div>
        </div> 
    </body>
{/block}
{block name="script"} 
	<script type="text/javascript">
        var hide = "{:session('admin.admin_type')}" == 0 ? false : true
	</script>   
    <script type="text/html" id="table-btn">
	  <a class="layui-btn layui-btn-xs" onclick="xadmin.open('{{d.state_text}}详情','/repair/repair/repair_details.html?ids={{d.repair_id}}','','',true)">查看</a>
	</script>
	<script type="text/javascript" src="ADMIN_CUSTOM/js/repair/index.js"></script>
{/block}